#ifndef _SINGLETONE_H_
#define _SINGLETONE_H_


template<class T>
class Singleton
{
public:
    static T & getInstance()
    {
        static T instance;
        return instance;
    }
};

#define slt(className) Singleton<className>::getInstance() 

#endif